package com.ruoyi.bus.service;

import java.util.List;
import com.ruoyi.bus.domain.WitComment;

/**
 * 点评Service接口
 * 
 * @author caiyanshan
 * @date 2021-04-14
 */
public interface IWitCommentService 
{
    /**
     * 查询点评
     * 
     * @param commentId 点评ID
     * @return 点评
     */
    public WitComment selectWitCommentById(Long commentId);

    /**
     * 查询点评列表
     * 
     * @param witComment 点评
     * @return 点评集合
     */
    public List<WitComment> selectWitCommentList(WitComment witComment);

    /**
     * 新增点评
     * 
     * @param witComment 点评
     * @return 结果
     */
    public int insertWitComment(WitComment witComment);

    /**
     * 修改点评
     * 
     * @param witComment 点评
     * @return 结果
     */
    public int updateWitComment(WitComment witComment);

    /**
     * 批量删除点评
     * 
     * @param commentIds 需要删除的点评ID
     * @return 结果
     */
    public int deleteWitCommentByIds(Long[] commentIds);

    /**
     * 删除点评信息
     * 
     * @param commentId 点评ID
     * @return 结果
     */
    public int deleteWitCommentById(Long commentId);
}
